package com.sdonkey.score.dao;

import com.sdonkey.score.model.AdPlacementGiftListBean;
import com.sdonkey.score.model.FinishPlacementAdBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by hujun on 2018\12\19 0019.
 */
@Repository("adGiftDao")
public interface AdGiftDao {
    public List<FinishPlacementAdBean> getUnGiftPlacementAd(@Param("advId") String advId);


    public List<AdPlacementGiftListBean> getGiftPlacementAdList(@Param("advId") String advId);


    public Map getAdPlaceGiftByAdId(@Param("adId") Integer adId);

    public Map getAdPlaceGiftById(@Param("id") int id);

    public void deleteById(@Param("id") int id);

    public void addAdPlaceGift(Map params);

    public void updatePlaceGiftById(Map params);
}
